home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3803 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  668 b 

  1. Path: news.primenet.com!ip21-114
  2. From: mcoplea@primenet.com (Marty R. Coplea)
  3. Newsgroups: comp.lang.c
  4. Subject: Date format with long int question
  5. Date: 30 Jan 1996 23:22:03 -0700
  6. Organization: Primenet
  7. Sender: root@primenet.com
  8. Message-ID: <4en1qb$dl6@nnrp1.news.primenet.com>
  9. X-Posted-By: ip21-114.phx.primenet.com
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. I am having trouble writing some C code that will take input of a date as an 
  13. long integer in a yymmdd format (ex: 960130).  Then seperate the long integer 
  14. into 3 parts (year, month day) and display in a mm/dd/19yy form (01/30/1996). 
  15.  Any suggestions would be greatly appreciated.  (email pefered) Thx!
  16.